#include "my_mouse.h"
#include "ui_my_mouse.h"

my_mouse::my_mouse(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::my_mouse)
{
    ui->setupUi(this);
    this->setMouseTracking(true);
    //用来重写鼠标双击事件
}

my_mouse::~my_mouse()
{
    delete ui;
}

void my_mouse::mouseDoubleClickEvent(QMouseEvent *)
{
        emit this->send_DBClick();
}
